package com.wingscode.modules.common.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wingscode.modules.common.dao.AddedSettingPriceDao;
import com.wingscode.modules.common.entity.AddedSettingPriceEntity;
import com.wingscode.modules.common.service.AddedSettingPriceService;
import org.springframework.stereotype.Service;

import java.util.List;


@Service("addedSettingPriceService")
public class AddedSettingPriceServiceImpl extends ServiceImpl<AddedSettingPriceDao, AddedSettingPriceEntity> implements AddedSettingPriceService {

    @Override
    public void deleteByServiceId(Integer serviceId) { this.baseMapper.deleteByServiceId(serviceId); }

    @Override
    public List<AddedSettingPriceEntity> priceList(Integer addedSettingId) { return this.baseMapper.priceList(addedSettingId); }

}
